/* src/pages/Home/router/SiderMenusRoute.css */
.sider-menu {
  background-color: #1890ff;
}

.sider-menu .ant-menu-item {
  color: white;
  transition: all 0.3s ease;
  border-radius: 4px;
  margin-bottom: 2px;
  border: 2px solid rgba(255, 255, 255, 0.15); /* 添加浅色边框 */
  padding: 12px 16px; /* 增加内边距，使边框更明显 */
}

.sider-menu .ant-menu-item:hover {
  background-color: #0070f3;
  color: white;
  border-color: rgba(255, 255, 255, 0.4); /* 悬停时边框变亮 */
}

.sider-menu .ant-menu-item-selected {
  background-color: #0056b3 !important;
  color: white !important;
  font-weight: bold;
  border-color: white !important; /* 选中时边框为白色 */
}

.sider-menu .ant-menu-item-selected .ant-menu-title-content {
  color: white !important;
}

.sider-menu .ant-menu-item-selected .ant-menu-item-icon {
  color: white !important;
}

.sider-menu .ant-menu-item-active {
  background-color: #0056b3 !important;
  color: white !important;
  border-color: white !important; /* 激活状态边框为白色 */
}

.sider-menu .ant-menu-item-active .ant-menu-title-content {
  color: white !important;
}

.sider-menu .ant-menu-item-active .ant-menu-item-icon {
  color: white !important;
}
